fix simditor image url bug

FFIB 5 年之前
父节点
当前提交
a4e8c93600
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      kodosale/settings.py

+ 1 - 0
kodosale/settings.py

@@ -229,6 +229,7 @@ SIMDITOR_TOOLBAR = [
229 229
 ]
230 230
 SIMDITOR_CONFIGS = {
231 231
     'toolbar': SIMDITOR_TOOLBAR,
232
+    'is_api': True,
232 233
     'upload': {
233 234
         'url': '/simditor/upload',
234 235
         'fileKey': 'upload',